﻿using System.ComponentModel.DataAnnotations;

namespace Jellyfin.Plugin.OpenSubtitles.OpenSubtitlesHandler.Models
{
    /// <summary>
    /// The login model.
    /// </summary>
    public class LoginInfoInput
    {
        /// <summary>
        /// Gets or sets the username.
        /// </summary>
        [Required]
        public string Username { get; set; } = null!;

        /// <summary>
        /// Gets or sets the password.
        /// </summary>
        [Required]
        public string Password { get; set; } = null!;

        /// <summary>
        /// Gets or sets the custom api key.
        /// </summary>
        public string CustomApiKey { get; set; } = null!;
    }
}
